home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol F-12
/
(Vol F-12) Jun 02 2012.iso
/
Screensaver
/
screensaver_installer.exe
/
____swmx
/
scripts
/
frame_1
/
DoAction_10.as
next >
Wrap
Text File
|
2004-10-21
|
1KB
|
44 lines
_global.ScreenweaverMessages = function()
{
this.init();
};
ScreenweaverMessages.prototype.init = function()
{
_global.MB_ABORTRETRYIGNORE = 2;
_global.MB_YESNO = 4;
_global.MB_YESNOCANCEL = 3;
_global.MB_RETRYCANCEL = 5;
_global.MB_OKCANCEL = 1;
_global.MB_OK = 0;
_global.MB_ICONSTOP = 16;
_global.MB_ICONQUESTION = 32;
_global.MB_ICONINFORMATION = 64;
_global.MB_ICONEXCLAMATION = 48;
_global.MB_DEFBUTTON1 = 0;
_global.MB_DEFBUTTON2 = 256;
_global.MB_DEFBUTTON3 = 512;
_global.MB_DEFBUTTON4 = 768;
_global.MB_APPLMODAL = 0;
_global.MB_SYSTEMMODAL = 4096;
_global.MB_TASKMODAL = 8192;
_global.MB_HELP = 16384;
_global.MB_NOFOCUS = 32768;
_global.MB_SETFOREGROUND = 65536;
_global.MB_DEFAULT_DESKTOP_ONLY = 131072;
_global.MB_TOPMOST = 262144;
_global.MB_RIGHT = 524288;
_global.MB_RTLREADING = 1048576;
_global.MB_IDYES = 6;
_global.MB_IDNO = 7;
_global.MB_IDABORT = 3;
_global.MB_IDCANCEL = 2;
_global.MB_IDIGNORE = 5;
_global.MB_IDRETRY = 4;
_global.MB_IDOK = 1;
};
ScreenweaverMessages.prototype.messageBox = function(text, caption, type, callback, scope)
{
args = {uType:int(type),lpCaption:caption,lpText:text,hWnd:swWindow.data.HostHandle};
swInterface.callDllMethod("user32.dll","MessageBoxA",args,callback,scope);
};